package com.amsp.oa.oademo.service;

import com.amsp.oa.oademo.entity.JobResponsibility;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface JobResponsibilityService extends IService<JobResponsibility> {
    List<JobResponsibility> getList(Integer page, Integer limit, String name, String department);

    long getTotal(String name, String department);

    JobResponsibility create(JobResponsibility jobResponsibility);

    JobResponsibility update(Long id, JobResponsibility jobResponsibility);

    void delete(Long id);

    //JobResponsibility getById(Long id);
}